package com.heifeng.cloudshelf.mvp.search.contract;

import androidx.recyclerview.widget.RecyclerView;

import com.heifeng.cloudshelf.base.IBasePresenter;
import com.heifeng.cloudshelf.base.IBaseView;

/**
 * Created by admin on 2019/9/16.
 */

public class SearchHouseActivityContract {
    public interface View extends IBaseView {
        RecyclerView getRecyclerView();

        void setListSize(int count);

        void notData(boolean isNull);
    }

    public interface Presenter extends IBasePresenter<View> {
        void init();
        void getHouseTypeByCommunityId(int id);

        boolean isVisBottom(RecyclerView recyclerView);

        void nextPage(int id);
    }
}
